package mx.com.sinformex.simbel.db.eos;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author Oscar Ivan Hernandez Ventura [ oscar at sinformex dot com dot mx]
 *
 * @version $ Id : ReportGroupJoin.java , v 1.0 13/05/2009 angellore $
 */

@Entity(name="report_has_group")
public class ReportGroupJoin {

	private Integer report;
	private Integer group;
	
	@Id
	@Column(name="report_id")
	public Integer getReport() {
		return report;
	}
	public void setReport(Integer report) {
		this.report = report;
	}

	@Column(name="group_id")	
	public Integer getGroup() {
		return group;
	}
	public void setGroup(Integer group) {
		this.group = group;
	}
	
	public final String toString() {
		return String.format("[ Group : %d ; Report : %d]", getGroup(), getReport());
	}
	
}
